<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>添加</title>
<link href="__STATIC__/admin/css/style.css" rel="stylesheet" type="text/css" />
</head>

<body>

	<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li><a href="#">首页</a></li>
    <li><a href="#">表单</a></li>
    </ul>
    </div>
    
    <div class="formbody">
    
    <div class="formtitle"><span>基本信息</span></div>
    <form method="post"  enctype="multipart/form-data">
    <ul class="forminfo">
    <li><label>学号</label><input name="s_number" type="text" class="dfinput" id="s_number"/><i>学号不能为空</i></li>
    <li><label>姓名</label><input name="s_name" type="text" class="dfinput" /><i>姓名不能为空</i></li>
    <li><label>性别</label><cite><input name="s_sex" type="radio" value="男" checked="checked" />男&nbsp;&nbsp;&nbsp;&nbsp;<input name="s_sex" type="radio" value="女" />女</cite></li>
    <li><label>年龄</label><input name="s_age" type="text" class="dfinput" /></li>
    <li><label>民族</label><input name="s_nation" type="text" class="dfinput" /></li>
    <li><label>籍贯</label><input name="s_place" type="text" class="dfinput" /></li>
    <li><label>密码</label><input name="s_pwd" type="password" class="dfinput" /></li> 
    <li><label>&nbsp;</label><input name="sub" type="submit" class="btn" value="添加" onclick="return yz()"/></li>
    </ul>   
    </div>
    <script>
        function yz()
        {
        	var s_number=document.getElementById("s_number");
        	if(s_number.value=='')
        		{
        		   alert("学号不能为空");
        		   s_number.focus();
        		   return false;
        		}
        }
    </script>
</body>
</html>
